<?php

class Core_Form_Admin_I18n_Translation_Filter extends Form_Filter
{
	function init()
	{
		$this -> addChild('text', 'q', array(
			'label' => 'Search',
			'required' => 1,
		));

		$this -> addChild('select', 'lang', array(
			'label' => 'Language',
			'multiOptions' => I18n::getAllLanguages(),
		));

		$this -> addChild('group', 'buttons');
		$this -> buttons -> addChild('submit', '_submit');
	}

}
